package com.erlang4j.api.exceptions;

import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/**
 * This wraps an exception. Most commonly this will be thrown inside IMessageHandlers that are executing in the swing
 * thread
 */
public class Erlang4jWrappedException extends Erlang4jException {

	public Erlang4jWrappedException(Exception e) {
		super(e, Erlang4jExceptionConstants.wrappedExceptionKey);
	}

}
